
import http from '@/request/http.js'

export const login = params => http.post('/user/vipUser/login', params)
export const xcxlogin = params => http.post('/user/scan/findXcxInfo', params)
export const xcxbindMobile = params => http.post('/user/scan/findXcxPhone', params)
export const postUserRegister = params => http.post('/user/vipUser/registerV2', params)
export const postUserInterest = params => http.post('/user/vipUser/interest', params) //注册兴趣偏好

// export const getChooseAgentList = params => http.get('/user/sys/showChooseBroker', params) // 选择经纪人
// export const postChooseAgent = params => http.post('/user/sys/chooseBroker', params) // 选择经纪人
export const getChooseAgent = params => http.post('/user/sys/showBrokerNumber', params) // 选择经纪人接口
export const getInviteImg = params => http.get('/user/scan/xcxInviteQr', params) // 选择经纪人接口
export const postFeedBack = params => http.post('/user/vipUser/feedback', params) // 意见反馈

export const getAgreementList = params => http.get('/user/top/statementList', params) // 隐私协议
// viewType, viewId 0：作品；1：项目；2：作品求购；3：项目征集 4：交易(服务) 5：IP精英 6:话题  7.剧本征集 8.小说征集 9.拍摄征集 10.招募 11.代表作品 12.品牌公司
export const getContact = params => http.post('/user/collect/viewContact', params) //查看联系方式
// 类型 1.申请版权保护 2.Banner置顶特权 3.列表置顶特权 4.查看联系方式 5.精准推送 
export const getUerRightInfo = params =>  http.post('/user/task/findRightCou', params) // 获取权益次数
export const getPayOrder = params =>  http.post('/push/order/xcxCreateOrder', params) // 获取权益次数